﻿<UserControl x:Class="SimlvClient.Pages.Home"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="700">
    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80"></ColumnDefinition>
            <ColumnDefinition Width="230"></ColumnDefinition>
            <ColumnDefinition  Width="80"></ColumnDefinition>
            <ColumnDefinition Width="230"></ColumnDefinition>
            <ColumnDefinition  Width="80"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <TextBlock Text="网站标题:" Grid.Row="0" VerticalAlignment="Center" Grid.Column="0" Margin="5,5,0,0"/>
        <TextBox x:Name="txtTitle" MaxLength="50" Grid.Column="1" Margin="5,5,0,0" Width="525" HorizontalAlignment="Left"
                  Grid.ColumnSpan="3" />

        <TextBlock Text="网站描述:" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="5"/>
        <TextBox x:Name="txtDescrpition" MaxLength="50" Grid.Row="1" Grid.Column="1" Margin="5,5,0,0" Width="525" HorizontalAlignment="Left"
                   Grid.ColumnSpan="3"  />
        <TextBlock Text="网站关键词:" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="5,0,5,0"/>
        <TextBox x:Name="txtKeywords" MaxLength="50" Grid.Row="2" Grid.Column="1" Margin="5,5,0,0" Width="525" HorizontalAlignment="Left"
                  Grid.ColumnSpan="3" />
        <TextBlock Text="*更改网站基本设置会需要很长时间更新到网站上且不利于网站优化，请不要频繁更新，" Grid.Row="3" Foreground="Red"  Grid.ColumnSpan="3" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="5,0,5,0"/>
        <Button  Click="BtnSave"  Grid.Row="2" Grid.Column="3" Content="保存" HorizontalAlignment="Right"  VerticalAlignment="Top" Margin="0,220,10,-219"/>
    </Grid>
</UserControl>
